package com.my.main.service.userAndRight.serviceImpl;

import com.my.main.base.mapper.BaseMapper;
import com.my.main.base.service.Impl.BaseServiceImpl;
import com.my.main.entity.userAndRight.SysRightsApi;
import com.my.main.mapper.userAndRight.SysRightsApiMapper;
import com.my.main.service.userAndRight.SysRightsApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysRightsApiServiceImpl extends BaseServiceImpl<SysRightsApi> implements SysRightsApiService {

    @Autowired
    private SysRightsApiMapper sysRightsApiMapper;

    @Resource(name= "sysRightsApiMapper")
    public void setBaseMapper(BaseMapper<SysRightsApi> mapper) {
        super.setBaseMapper(mapper);
    }
}
